import BaseAction from "./BaseAction";

export default class BlinkEyeAction extends BaseAction {



    start() {
        cc.tween(this.player.eyelid).to(0.5, { active: true }).to(0.5, {}).call(() => {
            if (this.player.eyelid)
                this.player.eyelid.active = false;
            this.onComplete()
        }).start();
    }
}
